package com.zzyl.mapper;

import com.zzyl.dto.DeviceDataPageReqDto;
import com.zzyl.entity.DeviceData;
import com.zzyl.vo.DeviceDataVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DeviceDataMapper {

    //批量保存设备上报的数据
    void insertDeviceData(@Param("list") List<DeviceData> deviceDatas);

    //分页查询设备上报数据
    List<DeviceDataVo> selectDeviceDataPage(DeviceDataPageReqDto pageQueryDto);
}
